package com.example.demo.service;

import com.example.demo.model.Category;

import java.util.List;

public interface ICategoryService {
    List<Category> getAllCategories();

    void addNewCategory(Category category);

    Category getCategoryById(Integer id);

    void updateCategory(Category category);

    void deleteCategory(Integer id);
}
